-- GENERATED SPELL FOR [Emerald Ooze] --


function spell0_4469(pUnit, Event) --@Corrosive Acid,n/a--
pUnit:FullCastSpellOnTarget(8245,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4469', 1500, 1)
end

function Sorts_4469(pUnit, Event)
local choix_sorts_4469 = math.random(0, 0)
if choix_sorts_4469 == 0 then
pUnit:RegisterEvent('spell0_4469', 1, 1)
end
end

function mob4469_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4469', math.random(1500, 3000), 1)
end

function mob4469_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4469_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4469_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4469, 1, 'mob4469_Action')
RegisterUnitEvent(4469, 2, 'mob4469_Leave')
RegisterUnitEvent(4469, 3, 'mob4469_Kill')
RegisterUnitEvent(4469, 4, 'mob4469_Die')
